foreign key constraints and alter table

Поиск
Список
Период
Сортировка
От John DeSoi
Тема foreign key constraints and alter table
Дата
Msg-id p05200f01ba773bb97555@[192.168.1.7]
обсуждение исходный текст
Ответы Re: foreign key constraints and alter table
Список pgsql-general
If I'm reading the docs correctly, I should be able to write:

ALTER TABLE mytable ADD ptr INT4 REFERENCES othertable ON DELETE SET NULL

but when I look in pg_constraint table (pg 7.3) I don't see any kind
of foreign key constraint.

BTW, are the PDF versions of the 7.3 Docs? I only see 7.2 on the web site.

Thanks!

John DeSoi, Ph.D.

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: TIMESTAMP WITH( OUT)? TIME ZONE indexing/type choice...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Index not used with IS NULL